function! bootstrap#keymap#setup() abort
    let g:Lf_ShortcutF = get(g:, 'Lf_ShortcutF', '<Leader>f')
    let g:Lf_ShortcutB = get(g:, 'Lf_ShortcutB', '<Leader>b')

    " call SpaceVim#custom#SPCGroupName(['b'], '+Buffers')
    " SpaceVim#custom#SPC(m, keys, cmd, desc, is_cmd) abort
    " call SpaceVim#custom#SPC('nore', ['b', 'l'], 'BufExplorer', 'open buffer explorer', 1)

    " call SpaceVim#custom#SPC('nore', ['f', 'g'], 'LeaderfRgInteractive', 'leaderf rg interactive', 1)

    " call SpaceVim#custom#SPC('nore', ['g', 'l'], 'Git pull', 'git pull', 1)
    " call SpaceVim#custom#SPC('nore', ['g', 's'], 'Git', 'fugitive git', 1)
    
    " call SpaceVim#custom#SPCGroupName(['v'], '+Vimwiki')
    " call SpaceVim#custom#SPC('nore', ['v', 'w'], 'VimWikiIndex', 'vimwiki index', 1)
    " call SpaceVim#custom#SPC('nore', ['v', 'd'], 'VimWikiDiaryIndex', 'vimwiki diary index', 1)

    " call SpaceVim#custom#SPC('nore', [';', 'l'], 'Commentary', 'Commentary', 1)
    " call SpaceVim#custom#SPC('nore', ['T', 'b'], 'TagbarToggle', 'toggle tagbar', 1)
    " call SpaceVim#custom#SPC('nore', ['T', 'e'], 'VimFilerBufferDir', 'toggle vimfiler explorer', 1)


    nmap ]f :tabnext<cr>
    nmap [f :tabprevious<cr>

    nnoremap <leader>B  :BufExplorer<cr>
    nnoremap <leader>d  :bd!<cr>
    nnoremap <leader>e  :VimFilerBufferDir<cr>
    nnoremap <leader>g  :Git<cr>
    nnoremap <leader>i  :DeinUpdate<cr>
    nnoremap <leader>k  :Unite mapping<cr>
    nnoremap <leader>s  :source %<cr>
    " nnoremap <leader>w  :w!<cr>
    nnoremap <leader>;  :Commentary<cr>
    xnoremap <leader>;  :Commentary<cr>
    if exists('g:leaderf_loaded')
        nnoremap <leader>l  :LeaderfSelf<cr>
        nnoremap <leader>b  :LeaderfBuffer<cr>
        nnoremap <m-f>      :LeaderfFile<cr>
        nnoremap <leader>f  :LeaderfFile<cr>
        nnoremap <leader>/  :LeaderfRgInteractive<cr>
        nnoremap <m-h>      :LeaderfHelp<cr>
        nnoremap <leader>h  :LeaderfHelp<cr>
        nnoremap <m-r>      :LeaderfMru<cr>
        nnoremap <leader>r  :LeaderfMru<cr>
    endif
endfunction


